<template>
    <div class="small-item">
        <div class="show">
            <div class="search-box">
                <div @click="back" class="back"><span class="back-icon iconfont icon-fanhui"></span></div>
                <div class="search"><span class="search-icon iconfont icon-icon-test2"></span></div>
            </div>
            <div class="show-img">
                <img src="" alt="">
            </div>


        </div>
        <div class="content">
            <div class="title">
                <p>扶手椅</p>

            </div>
            <ul class="content-box">
                <li class="card">
                    <router-link class="include" :to="{path:'/item/productList', query:{id:2112}}">
                        <div class="card-img"><img src="" alt=""></div>
                        <p class="card-name">沙发床</p>
                    </router-link>
                </li>


            </ul>

        </div>


    </div>

</template>

<script>
    import http from '../util/http'

    export default {
        name: "patch",
        data() {
            return {
                token: '',

            }
        },
        methods: {
            back() {
                this.$router.go(-1)
            }
        },
        created: function () {
            console.log(this.$route.query, '/find');

            http({
                method: 'post',
                url: '/find',
                data: {
                    id: '111'
                }
            })
                .then(function (response) {
                    console.log(response);
                })
                .catch(function (error) {
                    console.log(error);
                })
        }

    }
</script>

<style scoped>

</style>